package cn.getech.data.development.service;


import cn.getech.data.development.entity.TableFieldInfo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 表字段信息 服务类
 * </p>
 *
 * @author zenith
 * @since 2019-07-08
 */
public interface TableFieldInfoService extends IService<TableFieldInfo> {

    void deleteByTableFieldIds(List<Integer> needDelTableFieldIds);

    IPage<TableFieldInfo> page(IPage<TableFieldInfo> page, Integer id);

    List<TableFieldInfo> list(QueryWrapper<TableFieldInfo> tableFieldInfoQueryWrapper, Integer id);

    List<TableFieldInfo> getFileds(QueryWrapper<TableFieldInfo> tableFieldInfoQueryWrapper, Integer tableId, Integer filedType);
}
